<% content_for :mid do %>
<div id="midnav_left"></div>
<div id="midnav_back">
<div id="notice"><%= list_notice(flash[:notice]) %></div>
</div>
<div id="midnav_right"></div>
<% end %>
<div id="info_menu">
<ul>
	<li class='menuclick' id="head1"
		onclick="resetall();new Effect.Appear('user_info');menuover(event);">资料管理</li>
	<li class='menuout' id="head2"
		onclick="resetall();new Effect.Appear('incumbent_list');menuover(event);">工资条</li>
	<li class='menuout' id="head3"
		onclick="resetall();new Effect.Appear('friend_list');menuover(event);">好友名单</li>
	<li class='menuout' id="head4"
		onclick="resetall();new Effect.Appear('message_list');menuover(event);">消息列表</li>
	<li class='menuout' id="head5"
		onclick="resetall();new Effect.Appear('user_favorites');menuover(event);">收藏夹</li>
</ul>
</div>
<div id="info_sidebar"><%= render :partial=>"user_side_bar",:locals => {:user => @user}%>
</div>
<div id="user_info" style="width:480px;padding:0 5px 0 5px;"><span
	id="user_data"><%= render :partial=>"user_info",:locals => {:user => @user}%></span>
<span id="profile_data"><%= render :partial=>"profile_info",:locals => {:profile => @user.profile}%></span>
</div>
<div id="user_favorites"
	style="DISPLAY: none;width:480px;padding:0 5px 0 5px;">xx</div>
<div id="incumbent_list"
	style="DISPLAY: none;width:480px;padding:0 5px 0 5px;">
<div>
<h3>我发布的工资数据<%=image_tag "/images/left.gif", :alt=>"工资数据"%></h3>
<%= render_collection_of_partials "report/incumbent_list", @incumbents%>
<div style="margin-bottom:20px;">
<div align="right"><strong><%= link_to "+添加工资数据>>", :controller=>"report", :action=>"newincumbent" %></strong></div>
</div>
</div>
<div style="clear:left;">
<h3>我提供的公司信息<%=image_tag "/images/left.gif", :alt=>"公司信息"%></h3>
<%= render_collection_of_partials "report/company_list", @companies%></div></div>
<div id="report_list"
	style="DISPLAY: none;width:480px;padding:0 5px 0 5px;">
<h3>分析报告<%=image_tag "/images/left.gif", :alt=>"分析报告"%></h3>
<%= render_collection_of_partials "report/report_list", @reports%></div>
<div id="friend_list"
	style="DISPLAY: none;width:480px;padding:0 5px 0 5px;">
<h3>好友列表<%=image_tag "/images/left.gif" , :alt=>"好友列表"%></h3>
<%= render :partial=>"friend_list",:locals => {:friends => @friends}%></div>
<div id="message_list"
	style="DISPLAY: none;width:480px;padding:0 5px 0 5px;">
<h3>消息管理<%=image_tag "/images/left.gif", :alt=>"消息管理"%></h3>
<div id="m_list"><%= render :partial=>"message_list" , :locals => {:inbox_messages => @inbox_messages, :outbox_messages => @outbox_messages}%></div>
</div>
<div id="check">&nbsp;</div>